import java.util.Arrays;

public class floorArray {


    public static void initArray(char[][][] arr, char c) {
        for (char[][] chars : arr) {
            for (char[] aChar : chars) {
                Arrays.fill(aChar, c);
            }
        }
    }

    public static void designArray(char[][][] arr) {

        //打印一层信息

        for (int i = 0; i < arr[0].length; i++) {
            for (int j = 0; j < arr[0][i].length; j++) {
                if (j == 4) {
                    arr[1][i][j] = '*';
                }
            }
        }
        arr[1][6][3] = '*';
        arr[1][6][5] = '*';
        arr[1][1][3] = '*';
        //打印二层信息
        arr[2][0][4] = '*';
        arr[2][0][5] = '*';
        arr[2][1][3] = '*';
        arr[2][1][6] = '*';
        arr[2][2][6] = '*';
        arr[2][3][5] = '*';
        arr[2][4][4] = '*';
        arr[2][5][3] = '*';
        for (int i = 3; i <= 6; i++) {
            arr[2][6][i] = '*';
        }
        //打印三层信息
        arr[3][0][3] = '*';
        arr[3][0][4] = '*';
        arr[3][0][5] = '*';
        arr[3][1][2] = '*';
        arr[3][1][6] = '*';
        arr[3][2][6] = '*';
        arr[3][3][5] = '*';
        arr[3][3][4] = '*';
        arr[3][4][6] = '*';
        arr[3][5][6] = '*';
        arr[3][5][2] = '*';
        arr[3][6][3] = '*';
        arr[3][6][4] = '*';
        arr[3][6][5] = '*';
        //打印四层信息
        for (int i = 0; i <= 4; i++) {
            arr[4][i][6 - i] = '*';
        }
        arr[4][4][3] = '*';
        arr[4][4][4] = '*';
        arr[4][4][5] = '*';
        arr[4][4][6] = '*';
        arr[4][5][6] = '*';
        arr[4][6][6] = '*';
        arr[4][3][6] = '*';
        //打印五层信息
        for (int i = 3; i <= 6; i++) {
            arr[5][0][i] = '*';
        }
        arr[5][1][3] = '*';
        arr[5][2][3] = '*';
        arr[5][2][4] = '*';
        arr[5][2][5] = '*';
        arr[5][3][6] = '*';
        arr[5][4][6] = '*';
        arr[5][5][6] = '*';
        arr[5][6][5] = '*';
        arr[5][6][4] = '*';
        arr[5][6][3] = '*';
        //打印六层信息
        arr[6][0][5] = '*';
        arr[6][1][4] = '*';
        arr[6][2][3] = '*';
        arr[6][3][3] = '*';
        arr[6][4][3] = '*';
        arr[6][5][3] = '*';
        arr[6][6][4] = '*';
        arr[6][6][5] = '*';
        arr[6][5][6] = '*';
        arr[6][4][6] = '*';
        arr[6][3][5] = '*';
        arr[6][3][4] = '*';
        //打印七层信息
        arr[7][0][2] = '*';
        arr[7][0][3] = '*';
        arr[7][0][4] = '*';
        arr[7][0][5] = '*';
        arr[7][0][6] = '*';
        arr[7][1][6] = '*';
        arr[7][2][5] = '*';
        arr[7][3][4] = '*';
        arr[7][4][4] = '*';
        arr[7][5][4] = '*';
        arr[7][6][4] = '*';
        //打印八层信息
        arr[8][0][4] = '*';
        arr[8][0][5] = '*';
        arr[8][1][3] = '*';
        arr[8][1][6] = '*';
        arr[8][2][3] = '*';
        arr[8][2][6] = '*';
        arr[8][4][3] = '*';
        arr[8][5][3] = '*';
        arr[8][6][4] = '*';
        arr[8][6][5] = '*';
        arr[8][5][6] = '*';
        arr[8][4][6] = '*';
        arr[8][3][5] = '*';
        arr[8][3][4] = '*';
        //打印九层信息
        arr[9][0][4] = '*';
        arr[9][0][5] = '*';
        arr[9][1][3] = '*';
        arr[9][1][6] = '*';
        arr[9][2][3] = '*';
        arr[9][2][6] = '*';
        arr[9][6][4] = '*';
        arr[9][6][5] = '*';
        arr[9][5][6] = '*';
        arr[9][4][6] = '*';
        arr[9][3][5] = '*';
        arr[9][3][4] = '*';
        arr[9][3][6] = '*';
        //打印0层信息
        arr[0][0][4] = '*';
        arr[0][0][5] = '*';
        arr[0][1][3] = '*';
        arr[0][1][6] = '*';
        arr[0][2][3] = '*';
        arr[0][2][6] = '*';
        arr[0][4][3] = '*';
        arr[0][5][3] = '*';
        arr[0][6][4] = '*';
        arr[0][6][5] = '*';
        arr[0][5][6] = '*';
        arr[0][4][6] = '*';
        arr[0][3][3] = '*';
        arr[0][3][6] = '*';
    }

    public static void print(char[][] arr) {
        for (char[] aChar : arr) {
            for (char c : aChar) {
                System.out.print(c + " ");
            }
            System.out.println();
        }
    }

}
